package mytest.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class DataDemo {
    @ExcelProperty(value = "学号",index = 0)// 写入表头的
    private Integer id;
    @ExcelProperty(value = "姓名",index = 1)// 写入表头的
    private String name;
}
